package com.zp.self.kafka.entity;

/**
 * @program: LogMsgEntity
 * @author: zzx
 * @date: Create in 17:05 2020/3/9
 * @description: 日志实体对象
 * @version: 1.0.0
 */
public class LogMsgEntity {
    /**
     * 链路全局id
     */
    private String id;
    /**
     * 当前微服务的服务名
     */
    private String serviceName;
    /**
     * 日志级别，区分error，warn，info,debug
     */
    private String type;
    /**
     * 日志记录的时间，格式为yyyy-MM-dd HH:mm:ss.SSS
     */
    private String date;
    /**
     * 用户日志记录信息
     */
    private String data;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
